\documentclass[12pt, a4paper]{ctexart} % 默认小四号字
%\usepackage{hyperref} % 超链接
\usepackage{cite} % 引用
\usepackage{indentfirst} % 不使用这个会导致标题后的第一段没有首行缩进
%-------------------------------页面设置-----------------------------------
\usepackage[a4paper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry} % 页边距2.5cm
\pagestyle{plain} % 页眉页脚
% plain，默认设置，在页脚显示页码  headings, 页脚空白，在页眉中显示章节名及页码  empty， 页眉页脚均设置为空白
\pagenumbering{arabic} % 页码形式
% arabic：阿拉伯数字 roman：小写罗马数字 Roman：大写罗马数字 alph：小写字母 Alpa：大写字母

%-------------------------------默认字体字号-----------------------------------
\usepackage{fontspec}
\setmainfont{Times New Roman}  % 英文是Times New Roman
\usepackage{xeCJK}
\setCJKmainfont{SimSun}[BoldFont= SimHei, ItalicFont = KaiTi ] % 中文默认字体：宋体，粗体以黑体代替，斜体以楷书代替

%-------------------------------摘要-----------------------------------
\newenvironment{enabstract}{
	\par \noindent\centerline{\bfseries \zihao{3} Abstract}
	\par \vskip 1.5\baselineskip}{\par\vskip 1.5\baselineskip}
\newenvironment{cnabstract}{
	\par \noindent\centerline{\heiti \zihao{3} 摘要}
	\par \vskip 1.5\baselineskip}{\par\vskip 1.5\baselineskip}

%-------------------------------目录-----------------------------------
% 目录字体设置
\usepackage{subfigure}
\usepackage[subfigure]{tocloft}
\renewcommand*\contentsname{\centerline{ \heiti \zihao{-2} 目录 }} % 目录设置
\setcounter{secnumdepth}{3} % 编号深度
\setcounter{tocdepth}{3} % 目录深度
\usepackage{titletoc}
% 设置目录项的格式
\titlecontents{section}[0pt]{\heiti\zihao{-4}}{}{}{\titlerule*[5pt]{.}\contentspage}
\titlecontents{subsection}[1em]{\songti\zihao{-4}}{\thecontentslabel\hspace{0.5em}}{}{\titlerule*[5pt]{.}\contentspage}
\titlecontents{subsubsection}[2em]{\songti\zihao{-4}}{\thecontentslabel\hspace{0.5em}}{}{\titlerule*[5pt]{.}\contentspage}
%-------------------------------章节与段落-----------------------------------
\usepackage{titlesec}
% 修改章节标题格式和行间距
\titleformat{\section}[block]{\heiti \zihao{-3} \centering}{}{0.5em}{}
\titleformat{\subsection}[block]{\heiti \zihao{4}}{\thesubsection}{0.5em}{}
\titleformat{\subsubsection}[block]{\heiti \zihao{-4}}{\thesubsubsection}{0.5em}{}
\titlespacing*{\section}{0pt}{1.5\baselineskip}{1.5\baselineskip}
\titlespacing*{\subsection}{0pt}{1.0\baselineskip}{1.0\baselineskip}
\titlespacing*{\subsubsection}{0pt}{0.5\baselineskip}{0.5\baselineskip}

%-------------------------------图表公式代码-----------------------------------
\usepackage{graphicx} % 图片
\graphicspath{{pic/}{logo/}}  % pic为图片存放路径
\usepackage{caption} % 图表名字体字号t
% 这里的#1表示 图 ，#2后面的表示图后面的数字，如 图1 ，\hspace{0.5em表如1后面空半个字符再接图名
\DeclareCaptionLabelFormat{mylabel}{#1 #2\hspace{0.5em}}
\captionsetup{labelformat=mylabel,labelsep=none,font={small},labelfont={small,bf}}
\usepackage{amsmath}
\numberwithin{equation}{section}%公式按章节编号
\numberwithin{figure}{section}%图表按章节编号
\counterwithin{table}{section}
\usepackage{float}%提供float浮动环境
\usepackage{booktabs} % 三线表，提供命令\toprule、\midrule、\bottomrule
\usepackage{algorithmic} % 伪代码
\usepackage{algorithm}

%-------------------------------参考文献--------------------------------------
\usepackage{bibspacing}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%导言/正文分割线%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
	% 设置全文行间距为20pt
    \setlength{\baselineskip}{20pt}
	% --------------------------------标题-----------------------------------
	\title{\vspace{-2cm} \heiti \zihao{2}\LaTeX 中文论文模板}%黑体2号加粗
%	\author{\kaishu \zihao{-4} 小明\\\songti \zihao{-5} 加里敦大学}%作者姓名楷体小四，学院地址宋体小五
	\author{\kaishu \zihao{-4} {学号：231110201217 \hspace{1em} 姓名：帅华飞}}
%	\date{November 1, 2023}
	\date{}
	\maketitle 
	\thispagestyle{empty} % 标题页不编号
	\newpage % 换页
	
	%--------------------------------摘要-----------------------------------
	\setcounter{page}{1} % 开始页码计数
%	\begin{cnabstract}
	\section*{摘要}
	\addcontentsline{toc}{section}{摘要}
		中文摘要。凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数
		\par\noindent\textbf{关键词: } 关键字1，关键字2，关键字3 % “关键词”加粗
%	\end{cnabstract}
	
	\newpage
%	\begin{enabstract}
	\section*{Abstract}
	\addcontentsline{toc}{section}{Abstract}
		English abstract.pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out pad out 
		\par\noindent\textbf{Keywords:} keyword1, keyword2, keyword3
%	\end{enabstract}

	
	%--------------------------------目录-----------------------------------
	\newpage
	\tableofcontents
	
	%--------------------------------正文-----------------------------------
	\newpage
	\input{body}
	
	%--------------------------------参考文献-----------------------------------
	\newpage
	\begin{thebibliography}{99} % 最多99篇文献
		\bibitem{ref1}B. Sisman, J. Yamagishi, S. King and H. Li, "An Overview of Voice Conversion and Its Challenges: From Statistical Modeling to Deep Learning," in IEEE/ACM Transactions on Audio, Speech, and Language Processing, vol. 29, pp. 132-157, 2021, doi: 10.1109/TASLP.2020.3038524.
		\bibitem{ref2}潘孝勤,芦天亮,杜彦辉,仝鑫.基于深度学习的语音合成与转换技术综述[J].计算机科学,2021,48(08):200-208.
		\bibitem{ref3}Kim J, Kong J, Son J. Conditional variational autoencoder with adversarial learning for end-to-end text-to-speech[C]//International Conference on Machine Learning. PMLR, 2021: 5530-5540.
	\end{thebibliography}
	
	%--------------------------------附录-----------------------------------
	\newpage
	\appendix
	\section{附录1}
	some text...
	\section{附录2}
	some text...
	
\end{document}
